// console.log(window.location.search)
var url = location.search; //获取url中"?"符后的字串
// if (url.indexOf("?") != -1) {
//     var str = url.substr(1);
// }